package com.photo.dao;

import com.photo.dao.domain.User;
import org.springframework.dao.DataAccessException;

import java.util.List;

import net.sf.hibernate.HibernateException;

/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2008-8-4
 * Time: 15:04:53
 * To change this template use File | Settings | File Templates.
 */
public interface UserDao {
    public Integer insertUser(User user);

    List queryUser(User user);

    void updateUser(User user);
}
